/*
 * @Description: Point
 * 
 * @Author: 平常心
 * 
 * @Date: 2024-09-19 10:29:14
 * 
 * @LastEditors: 平常心
 * 
 * @LastEditTime: 2024-09-19 10:39:28
 */
public class Point {
  // 坐标位置
  public int x;
  public int y;

  // 构造器
  public Point() {
  }

  public Point(int x, int y) {
    this.x = x;
    this.y = y;
  }

  // show
  public void show() {
    System.out.println("点的横坐标x:" + x + "纵坐标y:" + y);
  }
}